<script type="text/javascript">
    RED.nodes.registerType('set-aas-property', {
        category: 'network',
        defaults: {
            name: { value: '' },
            property: { value: 'temp', required: true },
        },
        inputs: 1,
        outputs: 0,
        color: '#C3D6F2',
        align: 'right',
        label: function() {
            return this.name || "Set AAS property";
        },
        palettelabel: function() {
            return this.name || "Set AAS property";
        },
        icon: 'logo-BaSys4.png',
    })
</script>

<script type="text/html" data-template-name="set-aas-property">
    <div class="form-row">
        <label for="node-input-name"><i class="fa fa-tag"></i> Node name</label>
        <input type="text" id="node-input-name" placeholder="Name">
    </div>
    <div class="form-row">
        <label for="node-input-property"><i class="fa fa-rss"></i> Property</label>
        <input type="text" id="node-input-property" placeholder="Property">
    </div>
    <!-- <div class="form-tips"><b>Tip:</b> This is here to help.</div> -->
</script>

<script type="text/html" data-help-name="set-aas-property">
    <p>This node sets the value of an AAS property</p>
 </script>